﻿$(function () {
    $.ModelDialog({
        title: "参数设置", width: 450,
        href: "sys/setting/Edit.aspx",
        handler: function () {
            $.ModelForm({
                validate: true, button: $(this),
                editor: "#setting-copyright",
                id: "#setting-model",
                url: $.Api("Sys/Setting/Save"),
                success: function (result) { }
            });
        },
        onLoad: function () {
            $.MiniEditorInit("#setting-copyright", 100, "p", false);
        }
    });
});